package edu.study.user.api.req.auth;

import javax.validation.constraints.NotNull;

import edu.study.api.common.dto.BaseReqDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel("修改权限")
public class ModifyAuthReq extends BaseReqDto {

    /**
	 *
	 */
	private static final long serialVersionUID = -731538599642082271L;
	
	@ApiModelProperty(value = "权限编号", example = "", required = true)
	@NotNull(message = "权限编号不能为空")
    private String authNo;
	
	@ApiModelProperty(value = "权限名称", example = "", required = true)
	@NotNull(message = "权限名称不能为空")
    private String authName;

	@ApiModelProperty(value = "权限描述", example = "", required = false)
    private String authDesc;
	
	@ApiModelProperty(value = "权限类型:MENU-菜单页面/BUTTON-按钮/OTHER-其他", example = "", required = false)
    private String authType;

	@ApiModelProperty(value = "所属模块", example = "", required = false)
    private String component;

	@ApiModelProperty(value = "前端路由", example = "", required = false)
    private String routePath;

	@ApiModelProperty(value = "后端路径", example = "", required = false)
    private String url;

	@ApiModelProperty(value = "排序号", example = "", required = false)
    private Integer sort;
	
	@ApiModelProperty(value = "备注", example = "", required = false)
    private String remarks;
}
